@import 'mixin.scss';
@import 'color.scss';
.classify-view {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding-top: rem(96px);
    padding-bottom: rem(102px);
    overflow: hidden;
    .swiper-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .swiper-slide {
        height: auto!important;
    }
    .app-left,
    .app-right {
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .app-left {
        @include flex;
        background-color: $background-color-f8f8f8;
        .swiper-slide {
            a {
                display: block;
                padding: rem(18px) 0;
                font-size: rem(30px);
                text-align: center;
                span {
                    display: block;
                    position: relative;
                    width: 100%;
                    height: rem(47px);
                    line-height: rem(47px);
                }
                &.current {
                    color: $subject-color;
                    background-color: $color-white;
                    span:before {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 5px;
                        height: 100%;
                        background-color: $subject-color
                    }
                }
            }
        }
    }
    .app-right {
        @include flex(3);
        background-color: $color-white;
        .swiper-slide {
            padding: rem(30px);
        }
    }
}

.classify-list {
    ul {
        flex-wrap: wrap;
    }
    li {
        margin: rem(23px) 0 rem(56px);
        padding: 0 rem(8px);
        width: 33.333%;
        font-size: rem(28px);
        text-align: center;
        img {
            width: rem(102px);
            height: rem(96px);
            margin-bottom: rem(27px);
        }
    }
    .classify-title {
        padding: rem(20px) 0;
        font-size: rem(28px);
        text-align: center;
        span {
            display: inline-block;
            margin: 0 rem(10px);
        }
        &::before,
        &::after {
            content: '';
            display: inline-block;
            width: rem(40px);
            height: rem(8px);
            border-bottom: 1px #ccc solid;
        }
    }
}